<?php 
$desc = $this->Order['params'];
?>
<style>
<!--
table {
border:1px solid #B7C8DE;
border-collapse:collapse;
width:100%;
}
table th, table td {
border-bottom:1px solid #D3DEEB;
border-right:1px solid #D3DEEB;
padding:5px 6px;
vertical-align:middle;
}
table th {
background-image:url("<?php echo $this->l("stuff/images/th-bg.png")?>");
border:1px solid #B7C8DE;
color:#0B55C4;
text-align:center;
}
-->
</style>

<h3>Заявка от : <?php echo $this->Order['created']?></h3>

<table>
<tr><td><b>Номер</b></td><td><?=$desc['type'] ?></td></tr>
<tr><td><b>Заезд</b></td><td><?=$desc['from'] ?></td></tr>
<tr><td><b>Выезд</b></td><td><?=$desc['till'] ?></td></tr>

<tr><td>Фамилия</td><td><?=$desc['firstname'] ?></td></tr>
<tr><td>Имя</td><td><?=$desc['lastname'] ?></td></tr>
<tr><td>Телефон</td><td><?=$desc['phone'] ?></td></tr>
<tr><td>Email</td><td><?=$desc['email'] ?></td></tr>
<tr><td>Детей</td><td><?=$desc['kids'] ?></td></tr>
<tr><td>Взрослых</td><td><?=$desc['gups'] ?></td></tr>
<tr><td colspan="2">Примечание</td></tr>
<tr><td colspan="2">&nbsp;<?=$desc['tip'] ?></td></tr>
</table>
 
<div style="padding: 15px;">
<div style="float: left;">
<form action="" method="post">
<?php 
if ($this->Order['approved']==0)
{
?>
<input type="submit" name="approve" value="Подтвердить"/>
<input type="hidden"  name="from" value="<?=$this->Order['from']?>" />
<input type="hidden"  name="till" value="<?=$this->Order['till']?>" />
<input type="hidden"  name="type" value="<?=$this->Order['room']?>" />
<input type="hidden"  name="act" value="approve" />
<?php 
}
?>
</form>
</div>

<div style="float: left;">
<form action="" method="post">
<input type="submit" name="approve" value="Отклонить"/>
<input type="hidden"  name="cancel" value="approve" />

</form>
</div>

</div>
<?php
